package com.milotnt.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.milotnt.pojo.ClassTableDto;
import com.milotnt.pojo.Coach;

import java.util.List;

public interface CoachService extends IService<Coach> {
    // 查找所有教练
    List<Coach> findAll();
    // 统计教练数量
    Integer selectTotalCount();
    // 新增教练
    void insertCoach(Coach coach);
    // 通过id查找教练
    Coach selectByCoachId(Integer coachId);
    // 修改教练信息
    void updateCoach(Coach coach);
    // 删除教练信息
    String deleteByCoachId(Integer coachId);
    // 通过id与密码查找
    Coach coachLogin(Coach coach);
}
